package com.example.pc.videodemo.emq.model

/**
 * emq 常量
 * @Description
 * @Author xiesl
 * @Date 2021-07-22
 */
class EmqConstant {
    /**
     * 安卓发送到后台泛型数据
     */
    enum class androidToServerEnum(
            /**
             * 行为码
             */
            var code: String

            ) {

        onLine("onLine"),
        ipAddress("ipAddress"),
        call("call"),
        inCall("callIn"),
        answer("answer"),
        hangUp("hangUp"),
        offlie("offLine"),
        occupy("occupy"),
        deviceData("deviceData"),
        locationPhone("locationPhone"),

    }

    /**
     * 后台发送到安卓泛型数据
     */
    enum class serverToAndroidEnum(
            /**
             * 行为码
             */
            var code: String
    ) {

        onLine("onLine"),
        ipAddress("ipAddress"),
        call("call"),
        answer("answer"),
        inCall("callIn"),
        hangUp("hangUp"),
        offlie("offLine"),
        occupy("occupy"),
        locationPhone("locationPhone"),
    }
}